package javase0825;

import javase0825.run.PrimeThread;

public class Demo03 {
    public static void main(String[] args) {
        Thread p1 = new PrimeThread(143, "喝汤");
        Thread p2 = new PrimeThread(143, "吃饭");
        Thread p3 = new PrimeThread(143, "吃菜");
        //p1.setPriority(10);  //享元
        //p1.setName("p1");
        p1.start();
        p2.start();
        p3.start();
        //System.out.println(123);

    }
}
